﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyCode.Project.Infrastructure;
using MyCode.Project.Domain;
using MyCode.Project.Domain.Model;
using MyCode.Project.Infrastructure.Common;
using MyCode.Project.Domain.Message;
using MyCode.Project.Infrastructure.Enumeration;

namespace MyCode.Project.Domain.Repositories
{
	public interface ISysWorkprocessRepository : IRepository<SysWorkProcess>
	{
        /// <summary>
        /// 是否存在调度
        /// </summary>
        /// <param name="funcType">执行类型</param>
        /// <param name="merchantId">商家ID</param>
        /// <param name="funcClass">执行类</param>
        /// <param name="funcMethod">执行方法名</param>
        /// <param name="paramInfo">参数信息</param>
        /// <returns></returns>
        bool Exists(FuncType funcType, Guid merchantId, string funcClass, string funcMethod, string paramInfo);

    }
}
